let enterprise = [{
    id: 0,
    path: '/layout',
    name: '布局',
    component: '@/userCenter/layout',
    children: [
        {path: '/center', id: 1, name: '首页1', component: '@/userCenter/index'},
        {path: '/list', id: 2, name: '首页2', component: '@/userCenter/list'},
        {path: '/companyproduct', id: 3, name: '首页3', component: '@/userCenter/companyProduct'},
        {path: '/center4', id: 4, name: '首页4', component: '@/userCenter/index'}
    ]
}, {
    id: 1,
    path: '/layout',
    name: '布局',
    component: '@/userCenter/layout',
    children: [
        {path: '/center2', id: 11, name: '首页111', component: '@/userCenter/index'},
        {path: '/list2', id: 222, name: '首页222', component: '@/userCenter/list'}
    ]
}]

let organ = [{
    id: 0,
    path: '/layout',
    name: '布局sdfds',
    component: '@/userCenter/layout',
    children: [
        {path: '/index', permissions: [1, 2], name: '我的通知', component: 'index'},
        {path: '/list', permissions: [2], name: '企业资料', component: 'list'},
        {path: '/companyproduct', permissions: [2], name: '公司产品', component: 'companyProduct'},
        {path: '/myadvice', permissions: [2], name: '我的建议', component: 'myAdvice'},
        {path: '/changepassword', permissions: [2], name: '修改密码', component: 'changePassword'},
    ]
}, {
    id: 1,
    path: '/layout',
    name: '需求管理',
    component: '@/userCenter/layout',
    children: [
        {path: '/releasedemand', permissions: [1, 2], name: '发布需求', component: 'demand/releaseDemand'},
        {path: '/alreadyreleasedemand', permissions: [2], name: '已发布需求', component: 'demand/alreadyReleaseDemand'},
        {path: '/bid', permissions: [2], name: '竞标管理', component: 'demand/bid'},
        ]
}, {
    id: 2,
    path: '/layout',
    name: '服务管理',
    component: '@/userCenter/layout',
    children: [
        {path: '/releaseservice', permissions: [1, 2], name: '我要发布的服务', component: 'service/releaseService'},
        {path: '/alreadyreleaseservice', permissions: [2], name: '已发布的服务', component: 'service/alreadyReleaseService'},
        ]
}, {
    id: 3,
    path: '/layout',
    name: '招商管理',
    component: '@/userCenter/layout',
    children: [
        {path: '/plantmanagement', permissions: [1, 2], name: '厂房意向管理', component: 'merchants/plantManagement'},
        {path: '/publicrentalmanagement', permissions: [1, 2], name: '公租房意向管理', component: 'merchants/publicRentalManagement'},
        {path: '/landmanagement', permissions: [1, 2], name: '土地意向管理', component: 'merchants/landManagement'},
        {path: '/projectmanagement', permissions: [1, 2], name: '项目意向管理', component: 'merchants/projectManagement'},
        ]
}, {
    id: 4,
    path: '/layout',
    name: '办理业务',
    component: '@/userCenter/layout',
    children: [
        {path: '/servicehandle', permissions: [1, 2], name: '服务办理', component: 'business/serviceHandle'},
        {path: '/mineorder', permissions: [2], name: '我的订单', component: 'business/mineOrder'},
        {path: '/minecomplaint', permissions: [2], name: '我的投诉', component: 'business/mineComplaint'},
        ]
}, {
    id: 4,
    path: '/layout',
    name: '政务服务',
    component: '@/userCenter/layout',
    icon: "../../static/images/personal6.png",
    children: [
        {path: '/releaseagent', permissions: [1, 2], name: '发布代办', component: 'governmentaffairs/releaseAgent'},
        {path: '/postrecruitment', permissions: [1, 2], name: '发布招聘', component: 'governmentaffairs/postRecruitment'},
        {path: '/agencyservice', permissions: [1, 2], name: '代办服务', component: 'governmentaffairs/agencyService'},
        {path: '/talentservice', permissions: [1, 2], name: '人才服务', component: 'governmentaffairs/talentService'},
        ]
}]

export default {
    enterprise,
    organ
}
